package java_1_13.delete;
public class Test {
    public static void main(String[] args) {
        Delete delete=new Delete();
        delete.addFirst(6);
        delete.addFirst(6);
        delete.addFirst(6);
        delete.addFirst(5);
        delete.addFirst(5);
        delete.addFirst(4);
        delete.addFirst(3);
        delete.addFirst(2);
        delete.addFirst(1);
        delete.addFirst(1);
        delete.addFirst(1);
        System.out.println(delete.toString());
        delete.delete();
        System.out.println(delete.toString());
    }
}
